CommonsBooking\Plugin B

Total Complexity 81
Dependencies 29
Dependents 16
Total lines 722
Lines of code 443
Logical lines of code 185
Comment lines 174
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
setParentFile()
S
54 7 21
addMenuPages()
S
44 4 50
getTheContent()
S
62 6 11
removeDeprecatedUserRoles()
S
52 5 25
addRoleCaps()
S
50 4 29
addCustomUserRoles()
S
59 4 15
UpdateNotice()
S
51 2 36
initRoutes()
S
55 3 20
renderError()
S
57 3 18
runTasksAfterUpdate()
S
58 3 15
updateLocationCoordinates()
S
66 4 8
savePostActions()
S
62 3 11
registerItemTaxonomy()
S
58 2 16
registerLocationTaxonomy()
S
58 2 16
addCPTRoleCaps()
S
70 3 6
setAdvanceBookingDaysDefault()
S
65 3 8
AddImageSizes()
S
60 2 15
init()
S
51 1 24
commonsbooking_load_textdomain()
S
64 2 9
maybeEnableCB1UserFields()
S
70 2 6
registerAdminOptions()
S
69 2 6
registerPostStates()
S
72 2 5
registerCustomPostTypes()
S
68 2 7
admin_init()
S
67 2 8
getRoleCapMapping()
S
62 1 13
saveOptionsActions()
S
79 1 3
getCustomPostTypesLabels()
S
64 1 10
initBookingcodes()
S
74 1 4
getCBManagerCustomPostTypes()
S
66 1 9
registerUserWidget()
S
81 1 3
getCustomPostTypes()
S
64 1 10
activation()
S
72 1 6